package com.king.run.activity.other;

import android.os.Bundle;
import android.view.View;

import com.king.run.R;
import com.king.run.base.BaseActivity;

import org.xutils.view.annotation.ContentView;
import org.xutils.view.annotation.Event;

/**
 * 作者：shuizi_wade on 2017/8/17 09:42
 * 邮箱：674618016@qq.com
 */
@ContentView(R.layout.activity_login)
public class LoginActivity extends BaseActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Event(value = {R.id.btn_login, R.id.tv_forget, R.id.tv_register})
    private void getEvent(View view) {
        switch (view.getId()) {
            case R.id.btn_login:
                jumpActvity(HomeActivity.class);
                break;
            case R.id.tv_forget:
                jumpActvity(ForgetActivity.class);
                break;
            case R.id.tv_register:
                jumpActvity(CompleteHeightActivity.class);
                break;
        }
    }
}
